package com.my.design.create.build2;

/**
 * @author 代廷波
 * @className: OrderResourceBuildImpl
 * @description:
 * @create 2018/12/12 0012-14:52
 **/
public class OrderResourceBuildImpl implements IResourceBuild {

    private DataRoleVO dataRoleVO = new DataRoleVO();

    @Override
    public void setRoleId(Long roleId) {
        dataRoleVO.setRoleId(roleId);
    }

    @Override
    public void setRoleType() {
        dataRoleVO.setRoleType("order");
    }

    @Override
    public void setPermissionType(String permissionType) {
        dataRoleVO.setPermissionType(permissionType);
    }

    @Override
    public void setResourceType() {
        dataRoleVO.setResourceType("data");
    }

    @Override
    public void setUrlAddr(String urlAddr) {
        dataRoleVO.setUrlAddr(urlAddr);
    }

    @Override
    public DataRoleVO getDataRoleVO() {
        return dataRoleVO;
    }
}
